package com.xidian.zhiancloud.model.exam;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xidian.zhiancloud.qo.BaseReqQuery;

/**
 * 培训类型管理对象 t_train_type
 * 
 * @author zhouweitao
 * @date 2021-03-16
 */
public class TrainType extends BaseReqQuery
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 公司id */
    private Long companyId;

    /** 培训类型名称 */
    private String trainTypeName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setTrainTypeName(String trainTypeName) 
    {
        this.trainTypeName = trainTypeName;
    }

    public String getTrainTypeName() 
    {
        return trainTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyId", getCompanyId())
            .append("trainTypeName", getTrainTypeName())
            .toString();
    }
}
